package com.hbyj.object;

import com.hbyj.hbm.vo.Departments;

public class DepartmentForFlexiGrid {
	private Integer id;
	private String department_name;
	private String department_category;
	private String department_remarks;
	
	public DepartmentForFlexiGrid(){
		
	}
	
	private void InitObjectByHibernateClass(Object hiberObj){
		Departments departments =(Departments)hiberObj;
		this.id = departments.getId();
		this.department_name = departments.getName();
		this.department_category = departments.getDepartmentCategory().getName();
		this.department_remarks = departments.getRemarks();
	}
	
	public void setDepartment_name(String department_name) {
		this.department_name = department_name;
	}
	public String getDepartment_name() {
		return department_name;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getId() {
		return id;
	}
	public void setDepartment_category(String department_category) {
		this.department_category = department_category;
	}
	public String getDepartment_category() {
		return department_category;
	}
	public void setDepartment_remarks(String department_remarks) {
		this.department_remarks = department_remarks;
	}
	public String getDepartment_remarks() {
		return department_remarks;
	}
}
